
import request from '@/utils/request'

// 查询奖品列表
export function listGoodsprize(params) {
  return request({
    url: '/pms/system/goodsprize/list',
    method: 'get',
    params
  })
}

// 修改奖品
export function editGoodsprize(data) {
  return request({
    url: '/pms/system/goodsprize/update',
    method: 'post',
    data
  })
}

// 添加奖品
export function addGoodsprize(data) {
  return request({
    url: '/pms/system/goodsprize/add',
    method: 'post',
    data
  })
}

// 删除奖品
export function delGoodsprize(params) {
  return request({
    url: '/pms/system/goodsprize/delById',
    method: 'post',
    params
  })
}